Skip to content

Reactive2DList.AsMemory() method

Defined in

Type: Reactive2DList Namespace: ReactiveList.Collections Assembly: ReactiveList.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public ReadOnlyMemory<ReactiveList<T>> AsMemory()

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ReactiveList<T>. The member doesn't override them on this type.

Summary: Gets a read-only memory region over a snapshot of the items.

Returns: ReadOnlyMemory> (opens in a new tab) -- A read-only memory region over the items as they were when this method ran.

Remarks

The region has the same contract as AsSpan: it is a point-in-time view that later mutations do not change, and it is shared with AsSpan and enumeration until the next mutation. It stays valid after the list is disposed. It must be treated as read-only.